package com.shengyin.ec.service.mail;

import java.util.List;

import com.shengyin.ec.model.entity.Mail;

public interface MailService {

	public List<Mail> getMailList();
	
	public List<Mail> getMailList(int offset,int pagesize);
	
	public Long getTotal();
	
	public List<Mail> getMailListByDate();
	
	public void createMail(Mail news);
	
	public void removeMailById(long id);
	
	public Mail getMail(long id);
	
	public void modifyMail(Mail news);
	
	public void deleteAllMail(String[] ids);
	
	public void deleteSelectedMail(String [] ids);
}
